.toast-mask {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  z-index: 1004;

  .toast {
    min-width: 340px;
    max-width: 365px;
    padding: 30px;
    line-height: 40px;
    color: white;
    background-color: rgba(0,0,0,0.5);
    border-radius: 10px;
    font-size: 28px;
    text-align: center;
    display: block;
    z-index: 1009;

    &.show {
      transform: scale(1);
    }
    &.hidden {
      transform: scale(0);
    }
  }

  &.show {
    display: flex;
    opacity: 1;
  }

  &.hidden {
    display: none;
    opacity: 0;
  }
}